//
//  UCHUDManager.m
//  EasyKit
//
//  Created by zx on 2017/12/20.
//  Copyright © 2017年 a186f13. All rights reserved.
//

#import "UCHUDManager.h"


@implementation UCHUDManager

+ (UCHUDManager *)share {
    static UCHUDManager *manager = nil;
    static dispatch_once_t predicate;
    dispatch_once(&predicate, ^{
        manager = [[UCHUDManager alloc] init];
    });
    return manager;
}

- (UCHUDManager *)show {
    return self;
}

- (UCHUDManager *)showMessage:(NSString *)message {
    return self;
}

- (UCHUDManager *)hide {
    return self;
}

- (UCHUDManager * ((^)(NSString *text)))text {
    return ^id(NSString *text) {
        return self;
    };
}

- (UCHUDManager * (^)(UIView *containerView))showInView {
    return ^id(UIView *containerView) {
        return self;
    };
}

- (UCHUDManager * ((^)(NSTimeInterval daleyTime)))delay {
    return ^id(NSTimeInterval daleyTime) {
        return self;
    };
}

- (UCHUDManager * (^)(void (^completionBlock)(void)))completionBlock {
    return ^id(void (^completionBlock)(void)) {
        return self;
    };
}

@end

